package com.ruoyi.match.match.mapper;

import com.ruoyi.match.dto.OddsDto;
import com.ruoyi.match.match.domain.Match;
import com.ruoyi.match.match.domain.vo.MatchVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 比赛信息Mapper接口
 *
 * @author sjz
 * @date 2023-11-03
 */
public interface MatchMapper extends BaseMapperPlus<MatchMapper, Match, MatchVo> {

    List<Match> selectListByInitOdds(@Param("main") OddsDto main,
                                 @Param("level")OddsDto level,
                                 @Param("gust")OddsDto gust,
                                 @Param("type")int type);

    List<Match> selectListByFinalOdds(@Param("main") OddsDto main,
                                      @Param("level")OddsDto level,
                                      @Param("gust")OddsDto gust,
                                      @Param("type")int type);
}
